<#import "/ftl/mainAdmin.ftl" as page>

<@page.mainTemplate styleSheet="bankMaintainCss" jsFile="sqlcxJs" current="账簿查询">
  	<div class="page-content">
  		<!-- BEGIN PAGE HEAD-->
        <div class="page-head">
            <!-- BEGIN PAGE TITLE -->
            <div class="page-title">
                <h1>系统运维
                    <small>账簿查询</small>
                </h1>
            </div>
            <!-- END PAGE TITLE -->
        </div>
        <!-- END PAGE HEAD-->
        <!-- BEGIN PAGE BREADCRUMB -->
        <ul class="page-breadcrumb breadcrumb">
            <li>
                <a href="${context}/base/index_ftl">首页</a>
                <i class="fa fa-circle"></i>
            </li>
            <li>
                <span class="active">账簿查询</span>
            </li>
        </ul>
        <!-- END PAGE BREADCRUMB -->
        <!-- BEGIN PAGE BASE CONTENT -->
        <div class="row">
            <div class="col-md-12 col-sm-12 search-form">
                <form id="searchForm" action="" method="post">
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">摊位号</span>
                        <input name="account_no" class="form-control col-md-4" placeholder="摊位号"></input>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">业务类型</span>
                        <select name="trade_type" class="form-control input-inline">
                            <option value="">请选择</option>
                            <option value="CONSUME">消费</option>
                            <option value="CONSUMEREFUND">消费退款</option>
                            <option value="WAGE">工资</option>
                            <option value="TRANSFER">转账</option>
                            <option value="FUND">基金</option>
                            <option value="REFUND">退款</option>
                            <option value="WITHDRAW">提现</option>
                            <option value="DEPOSIT">入金</option>
                            <option value="RECHARGE">充值</option>
                            <option value="DUEPAYOFF">工资代发划款</option>
                            <option value="CURRENTWITHDRAW">出金</option>
                            <option value="TRANSFERTO">转账二段</option>
                        </select>
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">交易开始日期</span>
                        <div class="input-group-content">
                        <div class="input-group date date-picker" data-date-format="dd-mm-yyyy" >
                           <input type="text" id="begin_time" name="begin_time" class="form-control" readonly="readonly" placeholder="★交易开始日期" value="">
                                <span class="input-group-btn">
                                      <button class="btn default" type="button">
                                           <i class="fa fa-calendar"></i>
                                         </button>
                                      </span>
                           </div>
                        </div>
                        
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                        <span class="input-group-addon">交易结束日期</span>
                        <div class="input-group-content">
                        <div class="input-group date date-picker" data-date-format="dd-mm-yyyy" >
                           <input type="text" id="end_time" name="end_time" class="form-control" readonly="readonly" placeholder="★交易结束日期" value="">
                                <span class="input-group-btn">
                                      <button class="btn default" type="button">
                                           <i class="fa fa-calendar"></i>
                                         </button>
                                </span>
                           </div>
                        </div>
                       
                    </div>
                    <div class="search-item input-group col-md-4 col-sm-4">
                    	<a id="btnSearch" name="search" href="javascript:;" class="btn btn-success">查询</a>
                        <button type="reset" id="btnClearForm" name="reset" href="javascript:;" class="btn btn-default">清空</button>
                    </div>
                </form>
            </div>
        </div> 
        <div class="row">
            <div class="col-md-12 col-sm-12">
                <!-- BEGIN PORTLET-->
                <div class="portlet light bordered">
                    <div class="portlet-body">
                    <div class="caption">
                            <div id="tips" class="tips"></div>
                        </div>
                        <table class="table table-striped table-bordered table-hover table-checkable order-column" id="bookQuery">
                            <thead>
                                <tr role="row" class="heading">
                                	
                                    <th width="30%"> 摊位号 </th>
                                    <th> 子账号 </th>
                                    <th> 业务类型 </th>
                                    <th> 余额  </th>
                                    <th> 交易内容 </th>
                                    <th> 交易时间 </th>
                                    <th> 订单号 </th>
                                </tr>
                            </thead>
                            <tbody>
                            </tbody>
                        </table>
                    </div>
                </div>
                <!-- END PORTLET-->
            </div>
        </div>
        <script type="text/javascript">

</script>
        <!-- END PAGE BASE CONTENT -->
    </div>
</@page.mainTemplate>